package com.myspring.sample.factorybean;

import com.myspring.sample.model.mult_impl.MyInterface;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

@Service
public class MyService {
    @Autowired
    MyInterface bean;

    public void call() {
        System.out.println(bean.getClass().getName());
    }
}
